package entity

import (
	"time"

	"shqsoft.cn/pasnj/base"
)

//DgckLLwh 用户
type DgckLLwh struct {
	ID        int        `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	CUNM      string     `gorm:"column:CUNM;"`
	ENCD      string     `gorm:"column:ENCD;"`
	ACNO      string     `gorm:"column:ACNO;"`
	BANO      string     `gorm:"column:BANO;"`
	OrganName string     `gorm:"column:OrganName;"`
	ITNM      string     `gorm:"column:ITNM;"`
	OPDT      *time.Time `gorm:"column:OPDT;type:date;"`
	VLDT      *time.Time `gorm:"column:VLDT;type:date;"`
	MADT      *time.Time `gorm:"column:MADT;type:date;"`
	RDNM      string     `gorm:"column:RDNM;"`
	CYNM      string     `gorm:"column:CYNM;"`
	ACBL      float64    `gorm:"column:ACBL;"`
	CUID      int        `gorm:"column:CUID;"`
	INRT      float64    `gorm:"column:INRT;"`
}

//TableName User用户表名
func (DgckLLwh) TableName() string {
	return "V_COMP_ACCO_DGCK_LLWH"
}

// DgckLLwhEF G
func DgckLLwhEF() base.EntityFunc {
	return func() interface{} {
		entity := DgckLLwh{}
		return &entity
	}
}

//DgckLLwhESF GJ
func DgckLLwhESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []DgckLLwh
		return &entities
	}
}
func init() {
	base.DaoPoolObj.Put("DgckLLwh", base.NewDefaultDao(DgckLLwhEF(), DgckLLwhESF(), nil))
}
